class Chain(object):
    def __init__(self,path=''):
        self._path = path

    def __getattr__(self, path):
        return Chain('%s/%s' % (self._path,path))

    def __str__(self):
        return self._path

    _repr_ = __str__

s = Chain().status.user.timeline.list
print(s)